import Vue from 'vue'
import 'element-ui/lib/theme-chalk/index.css'
import {
  Button,
  Card,
  Input,
  Form,
  FormItem,
  Checkbox,
  ButtonGroup,
  Col,
  Avatar,
  Message,
  MessageBox
} from 'element-ui'
Vue.use(Button)
Vue.use(Card)
Vue.use(Input)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Checkbox)
Vue.use(ButtonGroup)
Vue.use(Col)
Vue.use(Avatar)
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$msgbox = MessageBox
Vue.prototype.$alert = MessageBox.alert
Vue.prototype.$prompt = MessageBox.prompt
Vue.prototype.$notify = Notification


import {
  Container,
  Aside,
  Header,
  Main,
  Dropdown,
  DropdownItem,
  DropdownMenu
} from 'element-ui'
Vue.use(Container)
Vue.use(Aside)
Vue.use(Header)
Vue.use(Main)
Vue.use(Dropdown)
Vue.use(DropdownItem)
Vue.use(DropdownMenu)

import {
  Menu,
  MenuItem,
  MenuItemGroup,
  Submenu,
  Breadcrumb,
  BreadcrumbItem,
  Cascader
} from 'element-ui'
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Submenu)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Cascader)

import { Row, Select, Option, OptionGroup } from 'element-ui'
Vue.use(Select)
Vue.use(Option)
Vue.use(OptionGroup)
Vue.use(Row)

import { Table, TableColumn } from 'element-ui'
Vue.use(Table)
Vue.use(TableColumn)
